package ace.module.account.api.model.input;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/3/20 9:12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RegisterQuickByWxMiniAppIdAndOpenIdInput {
  @Valid @NotNull private RegisterQuickCommonInput commonInput;

  /**
   * weixin mini app id
   */
  @NotEmpty private String wxMiniAppId;

  @NotEmpty private String openId;
  private String unionId;
}
